package com.mall.mymall.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.mall.mymall.dao.dto.CommentsDto;
import com.mall.mymall.dao.dto.PageRequestDto;
import com.mall.mymall.dao.dto.QueryDto;
import com.mall.mymall.dao.dto.SubmitCommentsDto;
import com.mall.mymall.dao.entity.ProductComments;
import com.mall.mymall.dao.entity.Users;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 十里坡
 * @since 2025-04-01
 */
public interface ProductCommentsService extends IService<ProductComments> {

    QueryDto<CommentsDto> pageMyComments(PageRequestDto pageRequestDto, Users users);

    QueryDto<CommentsDto> pagePendingComments(PageRequestDto pageRequestDto,Users users);

    boolean removeComments(Integer commentId);

    boolean saveComments(SubmitCommentsDto submitCommentsDto);

}
